package top.boycharse.blog.dao.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 评论者
 */
@Entity
@Table(name = "tb_reviewer")
public class Reviewer implements Serializable {

    /**
     * qq邮箱
     */
    @Id
    @Column(length = 20)
    private String mail;

    @Column(length = 20)
    private String name;

    /**
     * 网站或博客地址
     */
    @Column(length = 30)
    private String address;


    public Reviewer() {
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
